<?php
/**
 * +--------------------------------------------------------+
 * @Created by Phpstorm.
 * @Category Permission.php
 * @Depiction
 * @Author hwy <429208948@qq.com>
 * @Date 2022/4/7  16:56
 * +--------------------------------------------------------+
 */

namespace App\Models;

use DateTimeInterface;

class Permission extends BaseModel
{
    protected $table = 'permissions';

    protected $guarded = [];

    protected function serializeDate(DateTimeInterface $date)
    {
        return $date->format('Y-m-d H:i:s');
    }


}
